package com.cc.wechat.common.constants;

/**
 * 消息常量类
 * 存放系统中所有提示信息
 */
public final class MessageConstants {
    
    private MessageConstants() {} // 私有构造函数防止实例化

    /**
     * 认证相关消息
     */
    public static final class Auth {
        public static final String LOGIN_SUCCESS = "登录成功";
        public static final String REGISTER_SUCCESS = "注册成功";
        public static final String LOGOUT_SUCCESS = "退出登录成功";
        public static final String PASSWORD_RESET_SUCCESS = "密码重置成功";
    }

    /**
     * 好友相关消息
     */
    public static final class Friend {
        public static final String ADD_SUCCESS = "添加好友成功";
        public static final String DELETE_SUCCESS = "删除好友成功";
        public static final String REQUEST_SENT = "好友请求已发送";
        public static final String REQUEST_ACCEPTED = "已接受好友请求";
        public static final String REQUEST_REJECTED = "已拒绝好友请求";
        public static final String GET_LIST_SUCCESS = "获取好友列表成功";
        public static final String UPDATE_REMARK_SUCCESS = "更新好友备注成功";
        public static final String BLOCK_SUCCESS = "拉黑好友成功";
        public static final String UNBLOCK_SUCCESS = "取消拉黑成功";
    }

    /**
     * 群组相关消息
     */
    public static final class Group {
        public static final String CREATE_SUCCESS = "创建群组成功";
        public static final String JOIN_SUCCESS = "加入群组成功";
        public static final String LEAVE_SUCCESS = "退出群组成功";
        public static final String DISMISS_SUCCESS = "解散群组成功";
        public static final String UPDATE_SUCCESS = "群组信息更新成功";
    }

    /**
     * 消息相关提示
     */
    public static final class Message {
        public static final String SEND_SUCCESS = "发送消息成功";
        public static final String DELETE_SUCCESS = "删除消息成功";
        public static final String RECALL_SUCCESS = "撤回消息成功";
        public static final String MARK_READ_SUCCESS = "标记消息已读成功";
        public static final String NO_PERMISSION_RECALL = "无权撤回该消息";
        public static final String MESSAGE_NOT_FOUND = "消息不存在";
    }

    /**
     * 用户相关消息
     */
    public static final class User {
        public static final String UPDATE_PROFILE_SUCCESS = "个人信息更新成功";
        public static final String UPDATE_AVATAR_SUCCESS = "头像更新成功";
        public static final String UPDATE_PASSWORD_SUCCESS = "密码修改成功";
        public static final String ONLINE_STATUS_UPDATE_SUCCESS = "在线状态更新成功";
        public static final String SEARCH_SUCCESS = "搜索成功";
        public static final String SEARCH_FAILED = "搜索失败";
    }

    /**
     * 文件相关消息
     */
    public static class File {
        public static final String UPLOAD_SUCCESS = "文件上传成功";
        public static final String UPLOAD_FAILED = "文件上传失败";
        public static final String DELETE_SUCCESS = "文件删除成功";
        public static final String DELETE_FAILED = "文件删除失败";
        public static final String GET_URL_FAILED = "获取文件URL失败";
        public static final String FILE_EMPTY = "文件不能为空";
        public static final String FILE_TOO_LARGE = "文件大小不能超过%dMB";
        public static final String INVALID_FILE_TYPE = "不支持的文件类型，支持的类型：%s";
        public static final String INVALID_FILENAME = "文件名不合法";

        private File() {}
    }
} 